<%--
  Created by IntelliJ IDEA.
  User: jszx
  Date: 2021/9/1
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>产品筛选</title>
    <link type="text/css" rel="stylesheet" href="style/reset.css">
    <link type="text/css" rel="stylesheet" href="style/main.css">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script>
        function up(){
            let cookies = document.cookie;
            let p = cookies.match(';? ?p=(.*)?;?');
            p = parseInt(p[1]);
            if (p > 1) {
                p = (p-1).toString();
                let lastElementId = cookies.match(';? ?lastElementId=(.*)?;?');

                $.ajax({
                    url:"page.do",
                    type: 'post',
                    dataType: 'json',
                    data: {'p': p, 'lastElementId': lastElementId[1]},
                    success:function(request){
                        document.cookie = 'p='+request.pb.nowPage;
                        document.cookie = 'lastElementId='+request.pb.lastElementId;
                        $("#products").html(request.pb.list[0].username);
                    }
                });
            }
        }


        function down(){
            let cookies = document.cookie;
            let p = cookies.match(';? ?p=(.*)?;?');
            p = parseInt(p[1]) + 1;
            p = p.toString();
            let lastElementId = cookies.match(';? ?lastElementId=(.*)?;?');
            $.ajax({
                url:"page.do",
                type: 'post',
                dataType: 'json',
                data: {'p': p, 'lastElementId': lastElementId[1]},
                success:function(request){
                    document.cookie = 'p='+request.pb.nowPage;
                    document.cookie = 'lastElementId='+request.pb.lastElementId;
                    $("#products").html(request.pb.list[0].username);
                },
                error:function(errorMsg){
                    alert('服务器异常，请稍后重试');
                }
            });
        }

    </script>
</head>
<body>
<div class="headerBar">
    <div class="topBar">
        <div class="comWidth">
            <div class="leftArea">
                <a href="#" class="collection">收藏慕课</a>
            </div>
            <div class="rightArea">
                欢迎来到慕课网！<a href="#">[登录]</a><a href="#">[免费注册]</a>
            </div>
        </div>
    </div>
    <div class="logoBar">
        <div class="comWidth">
            <div class="logo fl">
                <a href="#"><img src="images/logo.png" alt="慕课网"></a>
            </div>
            <div class="search_box fl">
                <input type="text" class="search_text fl">
                <input type="button" value="搜 索" class="search_btn fr">
            </div>
            <div class="shopCar fr">
                <span class="shopText fl">购物车</span>
                <span class="shopNum fl">10</span>
            </div>
        </div>
    </div>
    <div class="navBox">
        <div class="comWidth">
            <div class="shopClass fl">
                <h3>全部商品分类<i></i></h3>
                <div class="shopClass_show hide">
                    <dl class="shopClass_item">
                        <dt><a href="#" class="b">手机</a> <a href="#" class="b">数码</a> <a href="#" class="aLink">合约机</a></dt>
                        <dd><a href="#">荣耀3X</a> <a href="#">单反</a> <a href="#">智能设备</a></dd>
                    </dl>
                    <dl class="shopClass_item shopClass_active">
                        <dt><a href="#" class="b">手机</a> <a href="#" class="b">数码</a> <a href="#" class="aLink">合约机</a></dt>
                        <dd><a href="#">荣耀3X</a> <a href="#">单反</a> <a href="#">智能设备</a></dd>
                    </dl>
                    <dl class="shopClass_item">
                        <dt><a href="#" class="b">手机</a> <a href="#" class="b">数码</a> <a href="#" class="aLink">合约机</a></dt>
                        <dd><a href="#">荣耀3X</a> <a href="#">单反</a> <a href="#">智能设备</a></dd>
                    </dl>
                    <dl class="shopClass_item">
                        <dt><a href="#" class="b">手机</a> <a href="#" class="b">数码</a> <a href="#" class="aLink">合约机</a></dt>
                        <dd><a href="#">荣耀3X</a> <a href="#">单反</a> <a href="#">智能设备</a></dd>
                    </dl>
                    <dl class="shopClass_item">
                        <dt><a href="#" class="b">手机</a> <a href="#" class="b">数码</a> <a href="#" class="aLink">合约机</a></dt>
                        <dd><a href="#">荣耀3X</a> <a href="#">单反</a> <a href="#">智能设备</a></dd>
                    </dl>
                </div>
                <div class="shopClass_list hide">
                    <div class="shopClass_cont">
                        <dl class="shopList_item">
                            <dt>电脑装机</dt>
                            <dd>
                                <a href="#">笔记本</a><a href="#">AS笔记本</a><a href="#">记本</a><a href="#">笔GFHF记本</a><a href="#">笔记HHHHHHHH本</a>
                            </dd>
                        </dl>
                        <dl class="shopList_item">
                            <dt>电脑装机</dt>
                            <dd>
                                <a href="#">笔记本</a><a href="#">AS笔记本</a><a href="#">记本</a><a href="#">笔GFHF记本</a><a href="#">笔记HHHHHHHH本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a>
                            </dd>
                        </dl>
                        <dl class="shopList_item">
                            <dt>电脑装机</dt>
                            <dd>
                                <a href="#">笔记本</a><a href="#">AS笔记本</a><a href="#">记本</a><a href="#">笔GFHF记本</a><a href="#">笔记HHHHHHHH本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a>
                            </dd>
                        </dl>
                        <dl class="shopList_item">
                            <dt>电脑装机</dt>
                            <dd>
                                <a href="#">笔记本</a><a href="#">AS笔记本</a><a href="#">记本</a><a href="#">笔GFHF记本</a><a href="#">笔记HHHHHHHH本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a>
                            </dd>
                        </dl>
                        <dl class="shopList_item">
                            <dt>电脑装机</dt>
                            <dd>
                                <a href="#">笔记本</a><a href="#">AS笔记本</a><a href="#">记本</a><a href="#">笔GFHF记本</a><a href="#">笔记HHHHHHHH本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a><a href="#">笔记本</a>
                            </dd>
                        </dl>
                        <div class="showList_links">
                            <a href="#">文字出生呢过好借好还<span></span></a><a href="#">文字出还<span></span></a>
                        </div>
                    </div>
                </div>
            </div>
            <ul  class="nav fl">
                <li><a href="#" class="active">数码城</a></li>
                <li><a href="#">天黑黑</a></li>
                <li><a href="#">团购</a></li>
                <li><a href="#">发现</a></li>
                <li><a href="#">二手特卖</a></li>
                <li><a href="#">名品会</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="hr_15"></div>
<div class="comWidth clearfix products">
    <div class="leftArea">
        <div class="leftNav vertical">
            <h3 class="nav_title">手机、数码</h3>
            <div class="nav_cont">
                <h3>手机通讯</h3>
                <ul class="navCont_list clearfix">
                    <li><a href="#">全部手机</a></li>
                    <li><a href="#">全手机</a></li>
                    <li><a href="#">全机</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                </ul>
            </div>
            <div class="nav_cont">
                <h3>手机通讯</h3>
                <ul class="navCont_list clearfix">
                    <li><a href="#">全部手机</a></li>
                    <li><a href="#">全手机</a></li>
                    <li><a href="#">全机</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                </ul>
            </div>
            <div class="nav_cont">
                <h3>手机通讯</h3>
                <ul class="navCont_list clearfix">
                    <li><a href="#">全部手机</a></li>
                    <li><a href="#">全手机</a></li>
                    <li><a href="#">全机</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                </ul>
            </div>
            <div class="nav_cont">
                <h3>手机通讯</h3>
                <ul class="navCont_list clearfix">
                    <li><a href="#">全部手机</a></li>
                    <li><a href="#">全手机</a></li>
                    <li><a href="#">全机</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                </ul>
            </div>
            <div class="nav_cont">
                <h3>手机通讯</h3>
                <ul class="navCont_list clearfix">
                    <li><a href="#">全部手机</a></li>
                    <li><a href="#">全手机</a></li>
                    <li><a href="#">全机</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                    <li><a href="#">手机</a></li>
                    <li><a href="#">手机4545</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="rightArea">
        <div class="screening_box">
            <dl class="screening clearfix">
                <dt>手机</dt>
                <dd class="limit"><a href="#" class="active">不限</a></dd>
                <dd class="screening_list">
                    <ul class="clearfix">
                        <li><a href="#">Samsung/三星</a></li>
                        <li><a href="#">Samsung/三hg星</a></li>
                        <li><a href="#">Saung/三hg星</a></li>
                        <li><a href="#">Sasung/三h星</a></li>
                        <li><a href="#">Saung/三hh星</a></li>
                        <li><a href="#">Sng/三星g</a></li>
                        <li><a href="#">Saung/gh三星</a></li>
                    </ul>
                </dd>
            </dl>
            <dl class="screening clearfix">
                <dt>手机</dt>
                <dd class="limit"><a href="#" class="active">不限</a></dd>
                <dd class="screening_list">
                    <ul class="clearfix">
                        <li><a href="#">Samsung/三星</a></li>
                        <li><a href="#">Samsung/三hg星</a></li>
                        <li><a href="#">Saung/三hh星</a></li>
                        <li><a href="#">Sng/三星g</a></li>
                        <li><a href="#">Saung/gh三星</a></li>
                    </ul>
                </dd>
            </dl>
            <dl class="screening clearfix">
                <dt>更多选项</dt>
                <dd class="screening_list">
                    <div class="screen_more">
                        <a href="#">Samsung/三星</a>
                    </div>
                    <div class="screen_more">
                        <a href="#">Sams14545445ufdfffffffffffng/三星</a>
                    </div>
                </dd>
            </dl>
        </div>
        <div class="hr_15"></div>
        <div class="addInfo">
            <div class="address">
                <span class="add_text">送至</span>
                <div class="select">
                    <h3>海淀区五环内</h3><span></span>
                    <ul class="show_select">
                        <li>科技局股份</li>
                        <li>科股份</li>
                        <li>科技股份</li>
                        <li>股份</li>
                        <li>科</li>
                    </ul>
                </div>
            </div>
            <div class="fr screen_text">
                <span class="check">
                    <input type="checkbox" id="check"><label for="check">仅显示有货</label>
                </span>
                <span class="shop_number">
                   共<em>45455</em>件
                </span>
            </div>
        </div>
        <div class="products_list screening_list_more clearfix">
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
                <div class="hot"></div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
            <div class="item">
                <div class="item_cont">
                    <div class="img_item">
                        <a href="#"><img src="images/item05.jpg" alt=""></a>
                    </div>
                    <p><a href="#">两个加快非结构化疾控报告附件看不见管理比较高</a></p>
                    <p class="money">$ 4545</p>
                    <p><a href="#" class="addCar">加入购物车</a></p>
                </div>
            </div>
        </div>
        <div class="hr_15"></div>
        <div class="page">
            <a href="#">上一页</a><a href="#">1</a><a href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#">6</a><span class="hl">...</span><a href="#">300</a><a href="#">下一页</a><span class="morePage">共200页，到第</span><input type="text" class="pageNum"><span class="ye">页</span><input type="button" value="确定" class="page_btn">
        </div>
    </div>
</div>
<div class="hr_15"></div>
<div class="footer">
    <p><a href="#">慕课网</a><i>|</i><a href="#">慕课公告</a><i>|</i><a href="#">招纳贤士</a><i>|</i><a href="#">联系我们</a><i>|</i>客服热线：454-4545455</p>
    <p>copyright &copy; 2019 imooc.com All Rights Reserved&nbsp;&nbsp;&nbsp;&nbsp;京ICP备 12003892号-11</p>
    <p class="web"><a href="#"><img src="images/webLogo.png"alt=""></a><a href="#"><img src="images/webLogo.png"alt=""></a><a href="#"><img src="images/webLogo.png"alt=""></a><a href="#"><img src="images/webLogo.png"alt=""></a></p>
</div>
</body>
</html>